package useful;

import java.math.BigDecimal;

/**
 * @author cuiH
 * Date: 13-10-29
 */
public class BigDecimalTest {


    public static void main(String[] args) {
        double double_1 = 50;
        double double_13 = 13;
        BigDecimal bigDecimal_1 = new BigDecimal(Double.toString(double_1)) ;
        BigDecimal bigDecimal_13 = new BigDecimal(Double.toString(double_13)) ;
        System.out.println(bigDecimal_1);
        System.out.println(bigDecimal_1.divide(bigDecimal_13,8));
    }
}
